package com.yyysj.system.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yyysj.common.core.domain.BaseEntity;
import lombok.Data;

@Data
@TableName("tb_post")
public class Post extends BaseEntity {

    @TableId(type = IdType.ASSIGN_ID)
    private Long postId;          // 帖子ID

    private Long userId;          // 发帖人ID

    private String title;         // 帖子标题

    private String content;       // 帖子内容

    private Integer status;       // 帖子状态：0-隐藏，1-正常

    private Integer likeCount;    // 点赞数

    private Integer viewCount;    // 浏览次数

    private Integer commentCount; // 评论数
}
